package cn.edu.ujn.dao;

import java.util.HashMap;
import java.util.List;

public interface BaseDictMapper {
	
	int deleteByPrimaryKey(String dict_id);
	
	int insert(BaseDict record);

	int insertSelective(BaseDict record);

	BaseDict selectByPrimaryKey(String dict_id);

	int updateByPrimaryKeySelective(BaseDict record);

	int updateByPrimaryKey(BaseDict record);

	List<BaseDict> selectBaseDictByTypeCode(String dict_type_code);

	List<BaseDict> selectBaseDictList(HashMap map);

	int selectBaseDictListCount(String keyWord);
	
	//查询类别
	List<BaseDict> queryBaseDictGetTypeCode();
	
	//分页查询
	List<BaseDict> queryBaseDictByQueryPo(QueryPo querypo);
	
	//查询条数
	int queryCountByQueryPo(QueryPo queryPo);
}